<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>权限管理</title>
<link rel="stylesheet" rev="stylesheet" href="../css/style.css" type="text/css" media="all" />


<script language="JavaScript" type="text/javascript">
function tishi()
{
  var a=confirm('数据库中保存有该人员基本信息，您可以修改或保留该信息。');
  if(a!=true)return false;
  window.open("冲突页.htm","","depended=0,alwaysRaised=1,width=800,height=400,location=0,menubar=0,resizable=0,scrollbars=0,status=0,toolbar=0");
}

function check()
{
document.getElementById("aa").style.display="";
}

</script>
<style type="text/css">
<!--
.atten {font-size:12px;font-weight:normal;color:#F00;}
-->
</style>
</head>


<body class="ContentBody">
  <script language="JavaScript" type="text/javascript">
  function change1(){
	  var isManger1=document.getElementById("isManager");
	  isManger1.value="是";
  }
  function change2(){
	  var isManger2=document.getElementById("isManager");
	  isManger2.value="否";
  }
  </script>
<div class="MainDiv">
	<form action="" method="post" onsubmit="_self">
<table width="99%" border="0" cellpadding="0" cellspacing="0" class="CContent">
  <tr>
      <th class="tablestyle_title" >权限管理</th>
  </tr>
  <tr>
    <td class="CPanel">
	
		<table border="0" cellpadding="0" cellspacing="0" style="width:100%">
		<tr><td align="left">
		</td></tr>
				<tr>
			<td width="100%">
				<fieldset style="height:100%;">
				<legend>权限信息</legend>
					  <table border="0" cellpadding="2" cellspacing="1" style="width:100%">
					 
					  <tr>
					    <td nowrap="nowrap" align="right">车辆管理:</td>
					    <td><input class="text" name="Grade1" id="isManage1r" style="width:154px" readonly="readonly" value="否"/><input type="hidden" name="userGrade1" value="1"/>
					    <input type="hidden" name="userPassword1" value="123456"/></td>
					    <td align="right"><input type="button" value="设置为管理员" onclick="change1()" style="width:154px" /></td>
					    <td><input type="button" value="取消管理员" onclick="change2()" style="width:154px"/></td>
					  </tr>
					    
					    
					  <tr>
					    <td nowrap="nowrap" align="right">物品管理:</td>
					    <td><input class="text" name="Grade2" id="isManager2" style="width:154px" readonly="readonly" value="否"/><input type="hidden" name="userGrade2" value="1"/>
					    <input type="hidden" name="userPassword2" value="123456"/></td>
					    <td align="right"><input type="button" value="设置为管理员" onclick="change1()" style="width:154px" /></td>
					    <td><input type="button" value="取消管理员" onclick="change2()" style="width:154px"/></td>
					  </tr>
                      
                      <tr>
					    <td nowrap="nowrap" align="right">设备管理:</td>
					    <td><input class="text" name="Grade3" id="isManager3" style="width:154px" readonly="readonly" value="否"/><input type="hidden" name="userGrade3" value="1"/>
					    <input type="hidden" name="userPassword3" value="123456"/></td>
					    <td align="right"><input type="button" value="设置为管理员" onclick="change1()" style="width:154px" /></td>
					    <td><input type="button" value="取消管理员" onclick="change2()" style="width:154px"/></td>
					  </tr>
					 
					  <tr>
					    <td nowrap="nowrap" align="right">会议室管理:</td>
					    <td><input class="text" name="Grade4" id="isManager4" style="width:154px" readonly="readonly" value="否"/><input type="hidden" name="userGrade4" value="1"/>
					    <input type="hidden" name="userPassword4" value="123456"/></td>
					    <td align="right"><input type="button" value="设置为管理员" onclick="change1()" style="width:154px" /></td>
					    <td><input type="button" value="取消管理员" onclick="change2()" style="width:154px"/></td>
					  </tr>
					  </table>
			  <br />
				</fieldset></td>
		</tr>
		</table>
	 </td>
  </tr>
		<tr>
			<td colspan="2" align="center" height="50px">
			<input type="submit" name="Submit" value="保存" class="button" onclick="alert('保存成功！');"/>　
			<input type="button" name="Submit2" value="返回" class="button" onclick="window.history.go(-1);"/></td>
		</tr>
		</table>
	</form>
	 </td>
  </tr>
</div>

</body>
</html>
